package test;

import object.Blob;

import java.io.File;

public class testBlob {
    protected Blob testblob;
    public testBlob() throws Exception{
        testblob = new Blob(new File("test.txt"));
    }
    public void testGetFmt() throws Exception {
        System.out.println(testblob.getFmt());
    }
    public void testGetKey() throws Exception {
        System.out.println(testblob.getKey());
    }
    public void testGetContent() throws Exception{
        System.out.println(testblob.getContent());
    }
    public void testGetMode() throws Exception {
        System.out.println(testblob.getMode());
    }

    public static void main(String[] args) throws Exception{
        testBlob test = new testBlob();
        test.testGetFmt();
        test.testGetContent();
        test.testGetKey();
        test.testGetMode();
        test.testblob.writeObject();
    }
}
